package com.haynes.meetxiaohai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haynes.meetxiaohai.entity.Orders;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Haynes
 * @Date 2023/3/26 19:17
 * @PackageName:com.haynes.reggie.service
 * @ClassName: OrdersService
 */
public interface OrdersService extends IService<Orders> {

    /**
     * 下订单
     * @param orders 订单数据
     */
    void submit(@Param("orders") Orders orders);

    /**
     * 根据ID更新订单状态
     * @param orders 订单数据
     */
    void updateOrderStatusById(Orders orders);
}
